@headerBgColor: #13c2c0;

html,
body {
  margin: 0;
  color: #202020;
  background: white;
  height: 100%;
  font-size: 14px;
  font-family: '微软雅黑', PingFangSC-Regular, Microsoft YaHei, SimSun, Arial, Helvetica, Verdana, sans-serif !important;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #000;
}

//font-size
html {
  .font12 {
    font-size: 12px;
  }

  .font14 {
    font-size: 14px;
  }

  .font16 {
    font-size: 16px;
  }

  .font17 {
    font-size: 17px;
  }

  .font18 {
    font-size: 18px;
  }

  .font20 {
    font-size: 20px;
  }

  .font25 {
    font-size: 25px;
  }

  .font30 {
    font-size: 30px;
  }

  .font36 {
    font-size: 36px;
  }
}

html {
  .font-bold {
    font-weight: bold;
  }

  .t-center {
    text-align: center;
  }

  .t-hidden {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .t-right {
    text-align: right;
  }

  .t-left {
    text-align: left;
  }

  .pull-left {
    float: left;
  }

  .pull-right {
    float: right;
  }

  .clearfix {
    clear: both;
  }

  .hidden {
    display: none;
  }

  .c-pointer {
    cursor: pointer;
  }

  .o-hidden {
    overflow: hidden;
  }

  .tran-all {
    transition: all 0.3s;
  }

  .tran-all2 {
    transition: all 0.6s;
  }

  .display-inline {
    display: inline-block;
  }
}

//margin,padding
html {
  .mr-3 {
    margin-right: 3px;
  }

  .ml-3 {
    margin-left: 3px;
  }

  .m-5 {
    margin: 5px;
  }

  .ml-5 {
    margin-left: 5px;
  }
  .ml-25 {
    margin-left: 25px;
  }

  .mr-5 {
    margin-right: 5px;
  }

  .mt-5 {
    margin-top: 5px;
  }

  .mb-5 {
    margin-bottom: 5px;
  }

  .m-10 {
    margin: 10px;
  }

  .ml-10 {
    margin-left: 10px;
  }

  .mr-10 {
    margin-right: 10px;
  }

  .mt-10 {
    margin-top: 10px;
  }

  .mt-15 {
    margin-top: 15px;
  }

  .mb-10 {
    margin-bottom: 10px;
  }

  .m-15 {
    margin: 15px;
  }

  .ml-15 {
    margin-left: 15px;
  }

  .mr-15 {
    margin-right: 15px;
  }

  .mt-15 {
    margin-top: 15px;
  }

  .mb-15 {
    margin-bottom: 15px;
  }

  .m-20 {
    margin: 20px;
  }

  .ml-20 {
    margin-left: 20px;
  }

  .mr-20 {
    margin-right: 20px;
  }

  .mt-20 {
    margin-top: 20px;
  }

  .mt-30 {
    margin-top: 30px;
  }

  .mt-40 {
    margin-top: 40px;
  }

  .mb-50 {
    margin-bottom: 50px;
  }

  .mb-20 {
    margin-bottom: 20px;
  }

  .p-5 {
    padding: 5px;
  }

  .p-10 {
    padding: 10px;
  }

  .p-7 {
    padding: 7px;
  }

  .p-15 {
    padding: 15px;
  }

  .pl-5 {
    padding-left: 5px;
  }

  .pr-5 {
    padding-right: 5px;
  }

  .pt-5 {
    padding-top: 5px;
  }

  .pb-5 {
    padding-bottom: 5px;
  }

  .pl-10 {
    padding-left: 10px;
  }

  .pr-10 {
    padding-right: 10px;
  }

  .pt-10 {
    padding-top: 10px;
  }

  .pb-10 {
    padding-bottom: 10px;
  }

  .pt-15 {
    padding-top: 15px;
  }

  .p-20 {
    padding: 20px;
  }

  .pl-20 {
    padding-left: 20px;
  }

  .pr-10 {
    padding-right: 10px;
  }

  .pr-15 {
    padding-right: 15px;
  }

  .pr-20 {
    padding-right: 20px;
  }

  .pr-25 {
    padding-right: 25px;
  }

  .pt-20 {
    padding-top: 20px;
  }

  .pb-20 {
    padding-bottom: 20px;
  }
}

// 布局
html {

  .flex-a-j-center {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .flex-a-start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .flex-a-center-j-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .flex-j-between {
    display: flex;
    justify-content: space-between;
  }

  .flex-d-col-a-center-j-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .flex-d-col-j-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .flex-a-center {
    display: flex;
    align-items: center;
  }

  .flex-a-center-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .flex {
    display: flex;
  }

  .flex1 {
    flex: 1;
  }
}

//width
html {
  .width10 {
    width: 10%;
  }

  .width20 {
    width: 20%;
  }

  .width25 {
    width: 25%;
  }

  .width30 {
    width: 30%;
  }

  .width40 {
    width: 40%;
  }

  .width45 {
    width: 45%;
  }

  .width50 {
    width: 50%;
  }

  .width55 {
    width: 55%;
  }

  .width60 {
    width: 60%;
  }

  .width70 {
    width: 70%;
  }

  .width75 {
    width: 75%;
  }

  .width80 {
    width: 80%;
  }

  .width90 {
    width: 90%;
  }

  .width100 {
    width: 100%;
  }

  .width-50 {
    width: 50px;
  }

  .width-100 {
    width: 100px;
  }

  .width-120 {
    width: 120px;
  }

  .width-130 {
    width: 130px;
  }

  .width-140 {
    width: 140px;
  }

  .width-150 {
    width: 150px;
  }

  .width-160 {
    width: 160px;
  }

  .width-165 {
    width: 165px;
  }

  .width-180 {
    width: 180px;
  }

  .width-200 {
    width: 200px;
  }

  .width-240 {
    width: 240px;
  }

  .width-250 {
    width: 250px;
  }

  .width-300 {
    width: 300px;
  }

  .height100 {
    height: 100%;
  }

  .height92 {
    height: 92%;
  }

  .height90 {
    height: 90%;
  }
}

// 重置elementui样式
html {
  .el-dialog__body {
    padding: 15px;
  }

  .el-dialog__header {
    padding: 10px 15px;
    background: @headerBgColor;
    color: white;
    border-radius: 5px 5px 0px 0px;

    .el-dialog__title {
      color: white;
    }

    .el-dialog__headerbtn {
      right: 15px;
      top: 15px;

      i {
        color: white;
      }
    }
  }

  // 所有的弹出框都是5px的圆角
  .el-dialog {
    border-radius: 5px;
  }

  .el-dialog__footer {
    padding: 10px 15px;
    border-top: 1px solid #DCE4F5;
    border-radius: 0px 0px 5px 5px;
    background: #ecf0f1;
  }

  .el-button--primary {
    color: #fff;
    background-color: #13c2c0;
    border-color: #13c2c0;
  }

  .el-button--primary:hover,
  .el-button--primary:focus {
    background: #42cecd;
    border-color: #42cecd;
    color: #FFFFFF;
  }

  // 删除提示框样式
  .btn-custom-cancel {
    float: right;
    margin-left: 10px;
  }

  .el-message-box {
    width: 440px;
  }

  // 表单内容为空的提示文字 和 边框 样式 
  .el-form-item--mini .el-form-item__error {
    color: #bf343491
  }

  .el-form-item.is-error .el-input__inner {
    border-color: #bf343491;
  }

  .el-tab-pane,
  .el-tabs--border-card {
    height: 100%;
  }

  .el-tabs__content {
    height: 100%;
  }
}

.red {
  color: red;
}

.nav {
  height: 50px;
  line-height: 50px;
  background: linear-gradient(-90deg, #3A46A3 0%, #2E3B9A 30%, #1A2376 99%);
  color: #fff;
  font-size: 18px;

  .logoStyle {
    width: 120px;
    vertical-align: middle;
  }
}

.bigTitle {
  font-size: 24px;
  font-weight: 800;
}

.smallTitle {
  font-size: 2.29rem;
  margin-left: 1.71rem;
  font-family: 'PingFang SC';
  font-weight: 500;
  color: #333333;
  line-height: 3rem;
}

.border {
  width: 60px;
  height: 5px;
  margin: 0 auto;
  background: linear-gradient(90deg, #1b8fc0 0%, #5266e0 100%);
  border-radius: 3px;
  margin-top: 9px;
  margin-bottom: 23px;
}

.border-phone {
  display: inline-block;
  width: 0.71rem;
  height: 2.86rem;
  background: linear-gradient(90deg, #1B8FC0 0%, #5266E0 100%);
}
.spacing{
  height: 2.14rem;
  background: #f0f0f0;
}